<?php

Yii::import('gamification.models._base.BaseGamesLogro');

class GamesLogro extends BaseGamesLogro
{
    /**
     * @return GamesLogro
     */
    public static function model($className = __CLASS__)
    {
        return parent::model($className);
    }

    public static function label($n = 1)
    {
        return Yii::t('app', 'Logro|Logros', $n);
    }
    
    public function rules() {
        return array_merge(parent::rules(),array(
            array('imagen', 'file', 'types'=>'jpg, gif, png'),
        ));
    }

}